package com.ruoyi.inventory.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存盘点明细对象 inventory_check_detail
 * 
 * @author ruoyi
 * @date 2025-06-17
 */
public class InventoryCheckDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 明细ID */
    private Long id;

    /** 盘点ID */
    @Excel(name = "盘点ID")
    private Long checkId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long productId;

    /** 系统数量 */
    @Excel(name = "系统数量")
    private Long systemQty;

    /** 实际数量 */
    @Excel(name = "实际数量")
    private Long actualQty;

    /** 差异数量 */
    @Excel(name = "差异数量")
    private Long difference;

    /** 调整数量 */
    @Excel(name = "调整数量")
    private Long adjustQty;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setCheckId(Long checkId) 
    {
        this.checkId = checkId;
    }

    public Long getCheckId() 
    {
        return checkId;
    }

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }

    public void setSystemQty(Long systemQty) 
    {
        this.systemQty = systemQty;
    }

    public Long getSystemQty() 
    {
        return systemQty;
    }

    public void setActualQty(Long actualQty) 
    {
        this.actualQty = actualQty;
    }

    public Long getActualQty() 
    {
        return actualQty;
    }

    public void setDifference(Long difference) 
    {
        this.difference = difference;
    }

    public Long getDifference() 
    {
        return difference;
    }

    public void setAdjustQty(Long adjustQty) 
    {
        this.adjustQty = adjustQty;
    }

    public Long getAdjustQty() 
    {
        return adjustQty;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("checkId", getCheckId())
            .append("productId", getProductId())
            .append("systemQty", getSystemQty())
            .append("actualQty", getActualQty())
            .append("difference", getDifference())
            .append("adjustQty", getAdjustQty())
            .toString();
    }
}
